#ifndef __READY_OBJ_H__
#define __READY_OBJ_H__

#include "utils/singleton.h"
#include "render/objs/text3dobj.h"
#include "event/event.h"

typedef void (Delegater::*OnReadyEndFunc)();

class ReadyHelper
{
public:
	ReadyHelper(Size stageSize);
	~ReadyHelper();

private:
	void OnBeforeRender(float differTime);

public:
	Event<OnReadyEndFunc> OnEnd;

private:
	bool m_ended;
	int m_status;
	float m_waitTime;

	Text3D m_textOne;
	Text3D m_textTwo;
	Text3D m_textThree;
	Text3D m_textGo;

	float m_angle;
};

#endif